home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
-
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="html"/>
- <xsl:template match="/">
-
- <html>
- <head>
- <title>Validate Fees</title>
- </head>
- <body bgcolor="#ccffcc">
- <a href="http://www.ebay.com/api/index.html">
- <img>
- <xsl:attribute name="src"><xsl:value-of select="//url"/>
- <xsl:value-of select="@src" />
- </xsl:attribute>
- </img>
- </a>
- <br />
- <small>eBay and the eBay logo are
- trademarks of eBay Inc.</small>
- <h2><center>Validate Listing Fees</center></h2>
- <hr />
-
- <xsl:choose>
- <xsl:when test="//Errors/Error/SeverityCode = 1">
- <center><h4>There were errors in your auction submission. Review the error message, fix and resubmit the auction</h4></center><br/><br/>
- <center><h4>Error message is: </h4><h3><xsl:value-of select="//Errors/Error/LongMessage"/></h3></center><br />
- </xsl:when>
- <xsl:otherwise>
-
- <center>The following listing fees will be charged against this auction.</center>
- <center>Press either the <b>VALIDATE/POST LISTING </b>button to submit the auction now or the <b>BULK LIST </b>button to list later.</center><br/>
-
- <b><center>Total Listing Fee $<xsl:value-of select="//Fees/ListingFee"/></center></b>
-
- <xsl:choose>
- <xsl:when test="//Fees/InsertionFee > 0">
- <li></li>Insertion Fee $<xsl:value-of select="//Fees/InsertionFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/AuctionLengthFee > 0">
- <li></li>Auction Length Fee $<xsl:value-of select="//Fees/AuctionLengthFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/BoldFee > 0">
- <li></li>Bold Fee $<xsl:value-of select="//Fees/BoldFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/BuyItNowFee > 0">
- <li></li>Buy It Now Fee $<xsl:value-of select="//Fees/BuyItNowFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/FeaturedFee > 0">
- <li></li>Featured Fee $<xsl:value-of select="//Fees/FeaturedFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/CategoryFeaturedFee > 0">
- <li></li>Category Featured Fee $<xsl:value-of select="//Fees/CategoryFeaturedFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/GalleryFee > 0">
- <li></li>Gallery Fee $<xsl:value-of select="//Fees/GalleryFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/FeaturedGalleryFee > 0">
- <li></li>Featured Gallery Fee $<xsl:value-of select="//Fees/FeaturedGalleryFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/FixedPriceDurationFee > 0">
- <li></li>Fixed Price Duration Fee $<xsl:value-of select="//Fees/FixedPriceDurationFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/GiftIconFee > 0">
- <li></li>Gift Icon Fee $<xsl:value-of select="//Fees/GiftIconFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/PhotoDisplayFee > 0">
- <li></li>Photo Display Fee $<xsl:value-of select="//Fees/PhotoDisplayFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/PhotoFee > 0">
- <li></li>Photo Fee $<xsl:value-of select="//Fees/PhotoFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/HighLightFee > 0">
- <li></li>Highlight Fee $<xsl:value-of select="//Fees/HighLightFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/ReserveFee > 0">
- <li></li>Reserve Fee $<xsl:value-of select="//Fees/ReserveFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/SchedulingFee > 0">
- <li></li>Scheduling Fee $<xsl:value-of select="//Fees/SchedulingFee"/><br />
- </xsl:when>
- </xsl:choose>
- <xsl:choose>
- <xsl:when test="//Fees/ThirtyDaysAucFee > 0">
- <li></li>Thirty Days Auction Fee $<xsl:value-of select="//Fees/ThirtyDaysAucFee"/><br />
- </xsl:when>
- </xsl:choose>
-
-
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:choose>
- <xsl:when test="//Errors/Error/SeverityCode = 2">
- <center><h5>Returned Warning Message Is: </h5><h4><xsl:value-of select="//Errors/Error/LongMessage"/></h4></center><br />
- </xsl:when>
- </xsl:choose>
-
-
- </body>
- </html>
-
- </xsl:template>
-
- </xsl:stylesheet>